﻿#define _CRT_SECURE_NO_WARNINGS 1

//编程初学者入门训练第四十五题
//BC47 判断是不是字母
//https://www.nowcoder.com/practice/91a588dd4cd244bfa616f17603ec123c?tpId=107&tqId=33328&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D107&difficulty=undefined&judgeStatus=undefined&tags=&title=

#include <stdio.h>

int main() {
    char ch;
    while (scanf("%c", &ch) != EOF) {
        getchar();
        if (ch != '\n') {
            if (ch >= 'a' && ch <= 'z' || ch >= 'A' && ch <= 'Z') {
                printf("%c is an alphabet.\n", ch);
            }
            else {
                printf("%c is not an alphabet.\n", ch);
            }
        }

    }
    return 0;
}